
public class Main {

	public static void main(String[] args) {

		Compteur c = new Compteur(0);
		
		MonThread th1 = new MonThread(c);
		MonThread th2 = new MonThread(c);
		MonThread th3 = new MonThread(c);
		
		th1.start();
		th2.start();
		th3.start();
		
		try{
			th1.join();
			th2.join();
			th3.join();
		}
		catch(Exception e){
			e.printStackTrace();
		}
	}

}
